/* eslint-disable */
import { ref } from 'vue';

const state = ref<{ data: {} }>({
  data: {},
});

function getData() {
  return state.value.data;
}

function setData(params: {}) {
  state.value.data = params;
}

export function useTreeData() {
  return {
    getData,
    setData,
  };
}
